package cn.danger.com.model.action;

import java.util.List;

import cn.bmob.v3.BmobObject;
import cn.danger.com.model.entity.Memo;
import cn.danger.com.model.listener.OnCommonListener;

/**
 * Created by 俊 on 2016/12/31.
 */
public interface MemoModel {

    String check(Memo memo);

    void addMemoToNetwork(Memo memo, OnCommonListener listener);

    void deleteMemoToNetWork(String objectId, OnCommonListener listener);

    void deleteMemosToNetWork(List<BmobObject> memos, OnCommonListener listener);

    void updateMemoToNetWork(Memo memo, OnCommonListener listener);

}
